<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class wikipediaindex</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class wikipediaindex</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class is for interacting with Wikipedia's browser interface, index.php.</p>
<p class="description"><p>Many of these functions are deprecated.</p></p>
		<p class="notes">
			Located in <a class="field" href="_wikibot.classes.php.html">/wikibot.classes.php</a> (line <span class="field">651</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$indexurl" title="details" class="var-name">$indexurl</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">Array</span>
										<a href="#diff" title="details" class="method-name">diff</a>
											(<span class="var-type">$title</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">$oldid</span>&nbsp;<span class="var-name">$oldid</span>, <span class="var-type">$id</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">$wait</span>&nbsp;<span class="var-name">$wait</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#email" title="details" class="method-name">email</a>
											(<span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>, <span class="var-type">$subject</span>&nbsp;<span class="var-name">$subject</span>, <span class="var-type">$body</span>&nbsp;<span class="var-name">$body</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#forcepost" title="details" class="method-name">forcepost</a>
											(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">$summery</span>&nbsp;<span class="var-name">$summery</span> = <span class="var-default">''</span>], [<span class="var-type">$minor</span>&nbsp;<span class="var-name">$minor</span> = <span class="var-default">false</span>], [<span class="var-type">$edithtml</span>&nbsp;<span class="var-name">$edithtml</span> = <span class="var-default">null</span>], [<span class="var-type">$maxlag</span>&nbsp;<span class="var-name">$maxlag</span> = <span class="var-default">null</span>], [<span class="var-type">$mlkg</span>&nbsp;<span class="var-name">$mlkg</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">True</span>
										<a href="#hasemail" title="details" class="method-name">hasemail</a>
											(<span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#move" title="details" class="method-name">move</a>
											(<span class="var-type">$old</span>&nbsp;<span class="var-name">$old</span>, <span class="var-type">$new</span>&nbsp;<span class="var-name">$new</span>, <span class="var-type">$reason</span>&nbsp;<span class="var-name">$reason</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#post" title="details" class="method-name">post</a>
											(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">$summery</span>&nbsp;<span class="var-name">$summery</span> = <span class="var-default">''</span>], [<span class="var-type">$minor</span>&nbsp;<span class="var-name">$minor</span> = <span class="var-default">false</span>], [<span class="var-type">$rv</span>&nbsp;<span class="var-name">$rv</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#rollback" title="details" class="method-name">rollback</a>
											(<span class="var-type">$title</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>, [<span class="var-type">$reason</span>&nbsp;<span class="var-name">$reason</span> = <span class="var-default">null</span>], [<span class="var-type">$token</span>&nbsp;<span class="var-name">$token</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">HTML</span>
										<a href="#upload" title="details" class="method-name">upload</a>
											(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">$desc</span>&nbsp;<span class="var-name">$desc</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$indexurl" id="$indexurl"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$indexurl</span>
			 = <span class="var-default"> 'http://rappelz.wikia.com/index.php'</span>			(line <span class="line-number">653</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">662</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This is our constructor.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddiff" id="diff"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">diff</span> (line <span class="line-number">781</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get a diff.</p>
	<ul class="tags">
				<li><span class="field">return:</span> of added data, removed data, and a rollback token if one was fetchable.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			diff
		</span>
					(<span class="var-type">$title</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">$oldid</span>&nbsp;<span class="var-name">$oldid</span>, <span class="var-type">$id</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">$wait</span>&nbsp;<span class="var-name">$wait</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$title</span>
				<span class="var-name">$title</span><span class="var-description">: Page title to get the diff of.</span>			</li>
					<li>
				<span class="var-type">$oldid</span>
				<span class="var-name">$oldid</span><span class="var-description">: Old revision ID.</span>			</li>
					<li>
				<span class="var-type">$id</span>
				<span class="var-name">$id</span><span class="var-description">: New revision ID.</span>			</li>
					<li>
				<span class="var-type">$wait</span>
				<span class="var-name">$wait</span><span class="var-description">: Whether or not to wait for the diff to become available.  (Default true)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodemail" id="email"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">email</span> (line <span class="line-number">923</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sends an email to a user.</p>
	<ul class="tags">
				<li><span class="field">return:</span> content.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			email
		</span>
					(<span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>, <span class="var-type">$subject</span>&nbsp;<span class="var-name">$subject</span>, <span class="var-type">$body</span>&nbsp;<span class="var-name">$body</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$user</span>
				<span class="var-name">$user</span><span class="var-description">: Username to send email to.</span>			</li>
					<li>
				<span class="var-type">$subject</span>
				<span class="var-name">$subject</span><span class="var-description">: Subject of email to send.</span>			</li>
					<li>
				<span class="var-type">$body</span>
				<span class="var-name">$body</span><span class="var-description">: Body of email to send.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodforcepost" id="forcepost"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">forcepost</span> (line <span class="line-number">734</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Post data to a page.</p>
	<ul class="tags">
				<li><span class="field">return:</span> data from the page.</li>
				<li><span class="field">see:</span> wikipediaapi::edit</li>
				<li><span class="field">deprecated:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			forcepost
		</span>
					(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">$summery</span>&nbsp;<span class="var-name">$summery</span> = <span class="var-default">''</span>], [<span class="var-type">$minor</span>&nbsp;<span class="var-name">$minor</span> = <span class="var-default">false</span>], [<span class="var-type">$edithtml</span>&nbsp;<span class="var-name">$edithtml</span> = <span class="var-default">null</span>], [<span class="var-type">$maxlag</span>&nbsp;<span class="var-name">$maxlag</span> = <span class="var-default">null</span>], [<span class="var-type">$mlkg</span>&nbsp;<span class="var-name">$mlkg</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$page</span>
				<span class="var-name">$page</span><span class="var-description">: Page title.</span>			</li>
					<li>
				<span class="var-type">$data</span>
				<span class="var-name">$data</span><span class="var-description">: Data to post to page.</span>			</li>
					<li>
				<span class="var-type">$summery</span>
				<span class="var-name">$summery</span><span class="var-description">: Edit summary.  (Default '')</span>			</li>
					<li>
				<span class="var-type">$minor</span>
				<span class="var-name">$minor</span><span class="var-description">: Whether to mark edit as minor.  (Default false)</span>			</li>
					<li>
				<span class="var-type">$edithtml</span>
				<span class="var-name">$edithtml</span><span class="var-description">: HTML from the edit form.  If not given, it will be fetched.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$maxlag</span>
				<span class="var-name">$maxlag</span><span class="var-description">: Maxlag for posting.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$mlkg</span>
				<span class="var-name">$mlkg</span><span class="var-description">: Whether to keep going after encountering a maxlag error and sleeping or not.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$bot</span>
				<span class="var-name">$bot</span><span class="var-description">: Whether to mark edit as bot.  (Default true)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhasemail" id="hasemail"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">hasemail</span> (line <span class="line-number">910</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check if a user has email enabled.</p>
	<ul class="tags">
				<li><span class="field">return:</span> or false depending on whether or not the user has email enabled.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">True</span>
		<span class="method-name">
			hasemail
		</span>
					(<span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$user</span>
				<span class="var-name">$user</span><span class="var-description">: Username to check whether or not the user has email enabled.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmove" id="move"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">move</span> (line <span class="line-number">865</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Move a page.</p>
	<ul class="tags">
				<li><span class="field">return:</span> page.</li>
				<li><span class="field">see:</span> wikipediaapi::move</li>
				<li><span class="field">deprecated:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			move
		</span>
					(<span class="var-type">$old</span>&nbsp;<span class="var-name">$old</span>, <span class="var-type">$new</span>&nbsp;<span class="var-name">$new</span>, <span class="var-type">$reason</span>&nbsp;<span class="var-name">$reason</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$old</span>
				<span class="var-name">$old</span><span class="var-description">: Page title to move.</span>			</li>
					<li>
				<span class="var-type">$new</span>
				<span class="var-name">$new</span><span class="var-description">: New title to move to.</span>			</li>
					<li>
				<span class="var-type">$reason</span>
				<span class="var-name">$reason</span><span class="var-description">: Move page summary.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpost" id="post"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">post</span> (line <span class="line-number">682</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Post data to a page, nicely.</p>
	<ul class="tags">
				<li><span class="field">return:</span> data from the page.</li>
				<li><span class="field">see:</span> wikipediaapi::edit</li>
				<li><span class="field">deprecated:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			post
		</span>
					(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">$summery</span>&nbsp;<span class="var-name">$summery</span> = <span class="var-default">''</span>], [<span class="var-type">$minor</span>&nbsp;<span class="var-name">$minor</span> = <span class="var-default">false</span>], [<span class="var-type">$rv</span>&nbsp;<span class="var-name">$rv</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$page</span>
				<span class="var-name">$page</span><span class="var-description">: Page title.</span>			</li>
					<li>
				<span class="var-type">$data</span>
				<span class="var-name">$data</span><span class="var-description">: Data to post to page.</span>			</li>
					<li>
				<span class="var-type">$summery</span>
				<span class="var-name">$summery</span><span class="var-description">: Edit summary.  (Default '')</span>			</li>
					<li>
				<span class="var-type">$minor</span>
				<span class="var-name">$minor</span><span class="var-description">: Whether to mark edit as minor.  (Default false)</span>			</li>
					<li>
				<span class="var-type">$rv</span>
				<span class="var-name">$rv</span><span class="var-description">: Revision data.  If not given, it will be fetched.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$bot</span>
				<span class="var-name">$bot</span><span class="var-description">: Whether to mark edit as bot.  (Default true)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrollback" id="rollback"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">rollback</span> (line <span class="line-number">839</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Rollback an edit.</p>
	<ul class="tags">
				<li><span class="field">return:</span> or false if failure.</li>
				<li><span class="field">see:</span> wikipediaapi::rollback</li>
				<li><span class="field">deprecated:</span> </li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			rollback
		</span>
					(<span class="var-type">$title</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">$user</span>&nbsp;<span class="var-name">$user</span>, [<span class="var-type">$reason</span>&nbsp;<span class="var-name">$reason</span> = <span class="var-default">null</span>], [<span class="var-type">$token</span>&nbsp;<span class="var-name">$token</span> = <span class="var-default">null</span>], [<span class="var-type">$bot</span>&nbsp;<span class="var-name">$bot</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$title</span>
				<span class="var-name">$title</span><span class="var-description">: Page title to rollback.</span>			</li>
					<li>
				<span class="var-type">$user</span>
				<span class="var-name">$user</span><span class="var-description">: Username of last edit to the page to rollback.</span>			</li>
					<li>
				<span class="var-type">$reason</span>
				<span class="var-name">$reason</span><span class="var-description">: Reason to rollback.  If null, default is generated.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$token</span>
				<span class="var-name">$token</span><span class="var-description">: Rollback token to use.  If null, it is fetched.  (Default null)</span>			</li>
					<li>
				<span class="var-type">$bot</span>
				<span class="var-name">$bot</span><span class="var-description">: Whether or not to mark as bot.  (Default true)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodupload" id="upload"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">upload</span> (line <span class="line-number">890</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Uploads a file.</p>
	<ul class="tags">
				<li><span class="field">return:</span> content.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">HTML</span>
		<span class="method-name">
			upload
		</span>
					(<span class="var-type">$page</span>&nbsp;<span class="var-name">$page</span>, <span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">$desc</span>&nbsp;<span class="var-name">$desc</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$page</span>
				<span class="var-name">$page</span><span class="var-description">: Name of page on the wiki to upload as.</span>			</li>
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span><span class="var-description">: Name of local file to upload.</span>			</li>
					<li>
				<span class="var-type">$desc</span>
				<span class="var-name">$desc</span><span class="var-description">: Content of the file description page.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 31 May 2011 22:21:56 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>